package com.panshi.mapper;


import com.panshi.vo.ArticlrVO;
import com.panshi.vo.PageSizeVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ArticlrMapper {

    //删除文章
    void deleteArt (int aid);

    //查询文章
    List<ArticlrVO> findArtQuery(PageSizeVO pageSizeVO);

    List<ArticlrVO> findArttQuery(PageSizeVO pageSizeVO);

    void deleteArtNo(@Param("aid") int aid);//删除未审核表

    Integer queryarticlecount(@Param("uid") int uid);

    Integer queryarticlenocount(@Param("uid") int uid);
}
